package com.wsjzzcbq.qianyuan.common.constant;

/**
 * MsgConsts 消息常量
 *
 * @author wsjz
 * @date 2022/03/10
 */
public class MsgConsts {

    public static final String NETWORK_ERROR = "网络异常";
    public static final String ILLEGAL_ACCESS = "非法访问";

    public static final String USER_NAME_INCORRECT = "用户名不正确";
    public static final String PASSWORD_INCORRECT = "密码不正确";
    public static final String TOKEN_INCORRECT = "token不正确";
    public static final String NO_PERMISSION = "当前用户没有操作权限";

    public static final String ADD_SUCCESS = "添加成功";
    public static final String UPDATE_SUCCESS = "修改成功";
    public static final String DELETE_SUCCESS = "删除成功";
    public static final String ADD_ERROR = "添加出错";
    public static final String UPDATE_ERROR = "修改出错";
    public static final String DELETE_ERROR = "删除出错";

    public static final String FILE_NOT_NULL = "文件不能为空";

    public static final String ID_NOT_NULL = "id不能为空";
    public static final String ID_ERROR = "id不正确";

    public static final String EXECUTE_SUCCESS = "执行成功";
    public static final String EXECUTE_ERROR = "执行出错";
    public static final String RESUME_SUCCESS = "恢复成功";
    public static final String RESUME_ERROR = "恢复出错";
    public static final String PAUSE_SUCCESS = "停止成功";
    public static final String PAUSE_ERROR = "停止出错";
    public static final String CURRENT_TASK_IS_RUNNING = "当前任务正在运行";
    public static final String CURRENT_TASK_PAUSED = "当前任务已停止";
    public static final String PLEASE_STOP_TASK_FIRST_DELETE = "请先停止任务,运行中任务不允许删除!";
    public static final String PLEASE_STOP_TASK_FIRST_UPDATE = "请先停止任务,运行中任务不允许修改!";
    public static final String CRON_ERROR = "执行时间 cron 表达式不正确";
    public static final String JOB_CLASS_NOT_FOUND = "执行类不存在";
    public static final String JOB_CLASS_IS_NOT_QUARTZJOB_IMPLEMENT_CLASS = "执行类不是org.quartz.Job的实现类";
}
